//
//  UserInfo.h
//  ProjectL
//
//  Created by Nguyen Tan Loc on 10/4/13.
//  Copyright (c) 2013 Nguyen Tan Loc. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserInfo : NSObject <NSCoding>
{
    int64_t mUserGold;
    int mNumItemGlove;
    int mNumItemXRay;
    int mNumItemTime;
    int mNumItemMagnet;
}

@property (nonatomic, assign) int64_t _userGold;
@property (nonatomic, assign) int _numItemGlove;
@property (nonatomic, assign) int _numItemXray;
@property (nonatomic, assign) int _numItemTime;
@property (nonatomic, assign) int _numItemMagnet;

+(UserInfo *) getInstance;
-(void) saveUserInfo;
-(int) getNumItem:(ITEM_TYPE)type;
-(void) setNumItem:(ITEM_TYPE)type num:(int)num;

@end
